<table width="100%">
	 <tr>
	 	<td><b>Transaction Id</b></td>				
	 	<td><b>Date receipt</b></td>			
	 	<td><b>Outlet</b></td>			
	 	<td><b>Pax</b></td>				
	 	<td><b>Food</b></td>				
	 	<td><b>Beverage</b></td>				
	 	<td><b>Other</b></td>
	 	<td><b>Discount</b></td>			
	 	<td><b>Netsale</b></td>				
	 	<td><b>Services Charges</b></td>		
	 	<td><b>Vat</b></td>
	 	<td><b>Total</b></td>
	 	<td><b>Points</b></td>
	 </tr>
	 <?php if($this->ttran > 0): ?>
		 <?php foreach ($this->ttran as $item): ?>
		 	<tr>
		 		<td><?php echo $item->transaction_id ?></td>				
			 	<td><?php echo $item->date_receipt ?></td>			
			 	<td><?php echo $item->outletname ; ?></td>			
			 	<td><?php echo $item->pax ?></td>				
			 	<td><?php echo $item->food ?></td>				
			 	<td><?php echo $item->beverage ?></td>				
			 	<td><?php echo $item->other ?></td>
			 	<td><?php echo $item->discount ?></td>
			 	<td><?php echo $item->netsale ?></td>				
			 	<td><?php echo $item->sc ?></td>		
			 	<td><?php echo $item->vat ?></td>
			 	<td><?php echo $item->total ?></td>
			 	<td><?php echo $this->p_o_tran[$item->id] ; ?></td>
		 	</tr>
		 <?php endforeach; ?>
	 <?php endif; ?>
	 <tr>
	 	<td colspan='13'><hr style='border: 1px dashed #333 ; ' /></td>
 	 </tr>
	 <tr>
	 	<td colspan='13'>
			<table width='100%'>
				<tr>
					<td width='800px'>&nbsp;</td>
					<td>PTD Total Spending</td>
					<td align="right"><?php echo $this->total_cost ; ?></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td>PTD Points Obtained</td>
					<td align="right"><?php echo ($this->total_points_used + $this->p_o_u) ;?></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td>Points Redempted</td>
					<td align="right"><?php echo $this->total_points_used ;?></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td>Points Balance</td>
					<td align="right"><?php echo $this->p_o_u ;?></td>
				</tr>
			</table>
		</td>
	 </tr>
</table>